import requests
from lxml import etree

headers = {
	'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
}
res = requests.get("http://127.0.0.1:8000/html/", headers=headers)

tree = etree.HTML(res.text)
trs = tree.xpath('//tr[position()>1]')
for tr in trs:
	print(tr.xpath('./th/text()'))

